import 'package:pornhub_app/components/tab_bar_indicator/easy_fixed_indicator.dart';

import 'package:pornhub_app/utils/color.dart';

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:pornhub_app/views/mine/mine_releases/mine_release_community_page.dart';

class MineReleaseCommunityTab extends StatelessWidget {
  MineReleaseCommunityTab({super.key});

  final List tabs = ['已发布', '审核中', '未通过'];

  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
        length: tabs.length,
        child: Scaffold(
          // appBar: AppBar(
          //   automaticallyImplyLeading: false,
          //   title: TabBar(
          //       tabAlignment: TabAlignment.start,
          //       isScrollable: true,
          //       labelColor: COLOR.hexColor('#B93FFF'),
          //       unselectedLabelColor: COLOR.hexColor('#808080'),
          //       indicatorColor: COLOR.hexColor('B93FFF'),
          //       labelStyle:
          //           TextStyle(fontSize: 14.w, fontWeight: FontWeight.w600),
          //       unselectedLabelStyle:
          //           TextStyle(fontSize: 14.w, fontWeight: FontWeight.w500),
          //       dividerColor: Colors.transparent,
          //       indicatorPadding: EdgeInsets.only(bottom: 6.w),
          //       indicator: EasyFixedIndicator(
          //         color: COLOR.hexColor('B93FFF'),
          //         width: 10.w,
          //         height: 3.w,
          //       ),
          //       tabs: tabs.map((v) => Tab(text: v)).toList()),
          // ),
          body: MinesReleaseCommunityPage(status: 1),
          // body: const TabBarView(
          //   children: [
          //     MinesReleaseCommunityPage(status: 1),
          //     MinesReleaseCommunityPage(status: 2),
          //     MinesReleaseCommunityPage(status: 3),
          //   ],
          // ),
        ));
  }
}
